package day020.homework;

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;

public class P6 {
    public static void main(String[] args) throws IOException {
        OutputStreamWriter osw = new OutputStreamWriter(new FileOutputStream("D:\\ideaProjects\\javase_code\\study-practice\\" +
                "src\\day020\\homework\\p6.txt"), "gbk");
        osw.write("我爱Java");

        osw.close();
    }
}
